package com.pmcc.utils;

import java.util.List;

/**
 * Created by chuLiDong on 2018/9/16.
 */
public class ApiData<T> {
    private long total; // 总数量，加载grid用
    private int page; // 当前页数
    private int pageSize;//返回每页条数
    private T object;// 返回的单个对象
    private List<T> list;// 返回列表信息

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
